<template>
  <div>
    <router-link to="/">
      <button>跳转到Home</button>
    </router-link>
    <p>User页面</p>
    <p>ID参数值：{{$route.params.id}}</p>
  </div>
</template>
<script>
export default {
  name: 'User',
  data(){
    return {}
  }
}
</script>